package 作业2.television;

public class TCL extends TV {
    boolean cloud;

    TCL(){

    }

    TCL(String brand,int size,boolean cloud){
        super(brand,size);
        this.cloud=cloud;
    }
    void output(){
        if(cloud==false){
            System.out.println("电视的"+brand+"尺寸"+size+"是否为3D电视"+cloud);
        }
        else
            System.out.println("电视的"+brand+"尺寸"+size+"是云电视");
    }
}
